<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=0.5, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" href="pulgins/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="stylesheets/reset.css">
    <link rel="stylesheet" href="pulgins/jquery-sdpagination.js/dist/sdpagination.min.css">
    <link rel="stylesheet" href="stylesheets/index.css?20180210">
    <link href="pulgins/date_pulgins/daterangepicker.css" rel="stylesheet" type="text/css">
    <script src="pulgins/jquery/jquery-3.1.0.min.js"></script>
    <script src="pulgins/jqprint/jquery.jqprint-0.3.js"></script>
    <script src="pulgins/echarts/echarts.min.js"></script>
    <script src="pulgins/jqprint/jquery-migrate-1.2.1.min.js"></script>
    <script src="pulgins/jquery-sdpagination.js/dist/jquery-sdpagination.min.js"></script>
    <script src="pulgins/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="pulgins/date_pulgins/moment.min.js"></script>
    <script type="text/javascript" src="pulgins/date_pulgins/daterangepicker.js"></script>
    <script src="javascripts/public.js?20180210"></script>
    <script src="javascripts/caiwu_admin.js?20180210"></script>
    <title>铭材财务管理</title>
</head>
<body>
<div id="all_wrap_">
    <div class="content">
        <div class="content_left">
            <img src="images/logo.png" alt="">
            <ul></ul>
        </div>
        <div class="content_right">
            <div class="right-top">
                <b class="glyphicon glyphicon-resize-small"></b>
                <div>
                    <img src="images/logo.png" alt="">
                    <p id="user_name"></p>
                    <b class="glyphicon glyphicon-chevron-down"></b>
                    <div id="exit" title="点击后退出登录">
                        <span>退出</span>
                        <b   class="glyphicon glyphicon-log-out"></b>
                    </div>
                </div>
            </div>
            <!--主要部分-->
            <div class="supervise">
                <div class="container-fluid">
                    <div class="supervise_header">
                        <div class="row">
                            <h2 class="col-xs-12 col-lg-10 col-lg-offset-1  col-xs-offset-0">财务管理操作</h2>
                        </div>
                        <div class="row">
                            <div style="margin-top:10px;"
                                 class="col-sm-2 col-sm-offset-0 col-lg-2 col-lg-offset-1">
                                <div class="input-group">
                                    <span class="input-group-addon">一类</span>
                                    <select class="form-control" name="" id="select1">
                                    </select>
                                </div>
                            </div>
                            <div style="margin-top:10px;"
                                 class="col-sm-3 col-sm-offset-0 col-lg-2">
                                <div class="input-group">
                                    <span class="input-group-addon">二类</span>
                                    <select class="form-control" name="" id="select2">
                                        <option value=""></option>
                                    </select>
                                </div>

                            </div>
                            <div style="margin-top:10px;" class="col-sm-4 col-lg-3">
                                <div class="input-group ">
                                    <span id="input_time_btn" class="input-group-addon glyphicon glyphicon-calendar" style="top:0;cursor: pointer;"></span>

                                    <input type="text" id="input_time" class="form-control">


                                    <span class="input-group-addon" id="search_time" style="cursor: pointer;">搜索</span>
                                </div>

                            </div>
                            <div style="margin-top:10px;"
                                 class="col-sm-3  ">
                                <div class="input-group">
                                    <form action="" id="search_kucun_form">
                                        <input type="text" class="form-control" id="search" placeholder="请输入物品编号 或 名称">
                                    </form>

                                    <span style="position: relative;top: 0;  cursor: pointer;"
                                          class="glyphicon glyphicon-search input-group-addon btn_hover" id="search_btn">搜索</span>
                                </div>

                            </div>
                        </div>
                        <div class="row">
                            <div style="margin-top:10px;"
                                 class="col-sm-12  col-sm-offset-0 col-lg-10 col-lg-offset-1 col-xs-10 col-xs-offset-1">
                                <button id="trade_water" style="margin-left: 15px" class="btn btn-default fr">交易流水</button>
                                <button id="receipt_btn" style="margin-left: 15px" class="btn btn-default fr">发票管理</button>
                            </div>
                        </div>
                        <div class="row">
                            <div style="margin-top:10px;"
                                 class="col-sm-12  col-sm-offset-0 col-lg-10 col-lg-offset-1 col-xs-10 col-xs-offset-1">
                                <button id="chart_all_btn"style="margin-left: 15px" class="btn btn-default fr">总图表分析</button>
                                <button id="excel" class="btn btn-default fr">导出excel</button>
                            </div>
                        </div>
                    </div>
                    <div class="supervise-body">
                        <div class="row">
                            <div class="col-xs-12 col-xs-offset-0 col-lg-offset-1 col-lg-10">
                                <div class="table-responsive table_wrap"
                                     style="border-bottom: 1px solid #eee;padding-bottom: 10px;display: none">
                                    <table id="linshi_table" style="margin-top: 30px;"
                                           class="table-striped table table-bordered">
                                    </table>
                                    <p style="margin-top:10px;">
                                        <button id="linshi_table_cancle" class="btn btn-primary btn-block">取消</button>
                                    </p>
                                </div>
                                <div class="table-responsive" style="margin-top:20px;">
                                    <table id="caiwu_table" class="table text-center table-bordered">
                                    </table>
                                </div>

                            </div>

                        </div>
                        <div class="row" style="margin-top:20px;">
                            <div class="col-xs-10 col-xs-offset-1">
                                <div id="page"></div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <!--图表-->
            <div class="set_shangpin" id="chart_wrap">
                <div class="set_shangpin_main">
                    <div class="set_goods">
                        <div class="container-fluid">
                            <button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <div class="add_goods_header">
                                <div class="row">
                                    <h2 class="col-sm-4 col-sm-offset-1 col-xs-10 col-xs-offset-1">分析页面</h2>
                                </div>

                                <div class="row">
                                    <div class="col-xs-10 col-xs-offset-1">
                                        <div class="row">
                                            <div style="margin-top:10px;" class="col-sm-3 col-sm-offset-0 col-xs-10 col-xs-offset-1">
                                                <div class="input-group">

                                                    <select class="form-control" name="" id="select_year">
                                                        <option value="2017">2017</option>
                                                        <option value="2018">2018</option>
                                                        <option value="2019">2019</option>
                                                        <option value="2020">2020</option>
                                                    </select>
                                                    <span class="input-group-addon">年</span>
                                                </div>
                                            </div>
                                            <div style="margin-top:10px;" class="col-sm-3  col-sm-offset-0 col-xs-10 col-xs-offset-1">
                                                <div class="input-group">
                                                    <select class="form-control" name="" id="select_month">
                                                        <option value="1">1</option>
                                                        <option value="2">2</option>
                                                        <option value="3">3</option>
                                                        <option value="4">4</option>
                                                        <option value="5">5</option>
                                                        <option value="6">6</option>
                                                        <option value="7">7</option>
                                                        <option value="8">8</option>
                                                        <option value="9">9</option>
                                                        <option value="10">10</option>
                                                        <option value="11">11</option>
                                                        <option value="12">12</option>
                                                    </select>
                                                    <span class="input-group-addon">月</span>
                                                </div>
                                            </div>
                                            <div style="margin-top:10px;"  class="col-sm-3 col-sm-offset-3 col-xs-10 col-xs-offset-1 ">
                                                <div class="input-group ">
                                                    <select class="form-control" name="" id="select_type">
                                                        <option value="0">销量</option>
                                                        <option value="1">盈利</option>
                                                        <option value="2">营业额</option>
                                                    </select>
                                                    <span class="input-group-addon">类型</span>
                                                </div>

                                            </div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <div class="add_goods_body">
                                <div class="row" id="echarts_wrap" style="margin-top: 20px;padding:0px 50px; height:500px;">

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <!--流水记录-->
            <div class="set_shangpin" id="water_record">
                <div class="set_shangpin_main">
                    <div class="set_goods">
                        <div class="container-fluid">
                            <button type="button" class="close" id="close_record" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <div class="add_goods_header">
                                <div class="row">
                                    <h2 class="col-sm-4 col-sm-offset-1 col-xs-10 col-xs-offset-1">流水记录</h2>
                                </div>

                                <div class="row">
                                    <div class="col-xs-10 col-xs-offset-1">
                                        <div class="row">
                                            <div style="margin-top:10px;" class="col-sm-4 col-sm-offset-0 col-xs-10 col-xs-offset-1">
                                                <div class="input-group">
                                                    <span class="input-group-addon">类型</span>
                                                    <select class="form-control" name="" id="water_type">
                                                        <option value="0">全部</option>
                                                        <option value="1">入帐</option>
                                                        <option value="2">支出</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div style="margin-top:10px;"
                                                 class="col-sm-5 col-sm-offset-3 col-xs-10 col-xs-offset-1">
                                                <div class="input-group ">
                                <span id="input_time_btn1" class="input-group-addon glyphicon glyphicon-calendar"
                                      style="top:0;cursor:pointer;"></span>

                                                    <input type="text" id="input_time1" class="form-control">


                                                    <span class="input-group-addon" id="search_time1" style="cursor: pointer;">搜索</span>
                                                </div>

                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <div class="row">
                                    <div style="margin-top:10px;"
                                         class="col-xs-10 col-xs-offset-1">
                                        <button id="record_all_btn" class="btn btn-default fr">导出excel</button>
                                    </div>
                                </div>
                            </div>
                            <div class="add_goods_body">
                                <div class="row" style="margin-top: 0px">
                                    <div class="col-xs-10 col-xs-offset-1">

                                        <table id="add_taocan_table" class="table">
                                        </table>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-10 col-xs-offset-1">
                                        <div id="page1"></div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <!--发票管理-->
            <div class="set_shangpin" id="receipt_wrap">
                <div class="set_shangpin_main">
                    <div class="set_goods">
                        <div class="container-fluid">
                            <button type="button" class="close" id="close_receipt" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            <div class="add_goods_header">
                                <div class="row">
                                    <h2 class="col-sm-4 col-sm-offset-1 col-xs-10 col-xs-offset-1">发票管理</h2>
                                </div>

                                <div class="row">
                                    <div class="col-xs-10 col-xs-offset-1">
                                        <div class="row">
                                            <div style="margin-top:10px;" class="col-sm-4 col-sm-offset-0 col-xs-10 col-xs-offset-1">
                                                <div class="input-group">
                                                    <span class="input-group-addon">类型</span>
                                                    <select class="form-control" name="" id="receipt_type">
                                                        <option value="">全部</option>
                                                        <option value="0">未完成</option>
                                                        <option value="1">完成</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div style="margin-top:10px;"
                                                 class="col-sm-5 col-sm-offset-0 col-xs-10 col-xs-offset-1">
                                                <div class="input-group ">
                                <span id="input_time_btn2" class="input-group-addon glyphicon glyphicon-calendar"
                                      style="top:0;cursor:pointer;"></span>

                                                    <input type="text" id="input_time2" class="form-control">


                                                    <span class="input-group-addon" id="search_time2" style="cursor: pointer;">搜索</span>
                                                </div>

                                            </div>
                                            <div style="margin-top:10px;" class="col-md-3 col-xs-10 col-xs-offset-1 col-md-offset-0">
                                                <div class="input-group">
                                                    <form action="" id="form_search">
                                                        <input type="text" id="search_input" placeholder="请输入订单号 " class="form-control">
                                                    </form>
                                                    <span id="search_all" style="position: relative;top: 0;  cursor: pointer;" class="glyphicon bg-info glyphicon-search input-group-addon"></span>
                                                </div>

                                            </div>
                                        </div>
                                    </div>

                                </div>
                            </div>
                            <div class="add_goods_body">
                                <div class="row" style="margin-top: 0px">
                                    <div class="col-xs-10 col-xs-offset-1">

                                        <table id="receipt_table" class="table">
                                        </table>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-10 col-xs-offset-1">
                                        <div id="page2"></div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!--提示<&ndash;&gt;-->
<div class="hint">
    <span> 商品名称</span>
</div>
<!--提示确认-->
<div class="modal" id="modal_wrap" aria-labelledby="myModalLabel" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="top: 20%;" role="document">
        <div class="modal-content">
            <div style="font-size: 20px;" class="modal-header">
                <h4 class="modal-title">提示</h4>
            </div>
            <div style="font-size: 20px;" class="modal-body">
                <p>确定要删除吗？</p>
            </div>
            <div class="modal-footer">
                <button type="button" id="modal_close" class="btn btn-default">取消</button>
                <button type="button" class="btn btn-primary" id="confirm">确定</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>